<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <%@include file="/WEB-INF/pages/common/head.jsp"%>
</head>
<body>
<div class="container">
    <table class="table" id="am">
        <tr>
            <th>序号</th>
            <th>物资编码</th>
            <th>物资名称</th>
            <th>最小规格</th>
            <th>包装单位</th>
            <th>物资类别</th>
            <th>数量</th>
            <th>经费来源</th>
            <th>申领人</th>
            <th>申领科室</th>
            <th>申领时间</th>
        </tr>
        <c:forEach items="${applyChildList}" var="a">
            <tr>
                <td>${a.applyChildId}</td>
                <td>${a.cgCode}</td>
                <td>${a.dictionary.cgName}</td>
                <td>${a.dictionary.spec}</td>
                <td>${a.dictionary.unit}</td>
                <td>${a.dictionary.type==0?'低值':'高值'}</td>
                <td>${a.applyChildTreatmentNu}</td>
                <td>${a.applySource==0?'科室白支票':'科研经费'}</td>
                <td>${a.createBy}</td>
                <td>${a.department.departmentName}</td>
                <td><fmt:formatDate value="${a.createDate}" pattern="yyyy-MM-dd"/> </td>
            </tr>
        </c:forEach>
    </table>
    <button onclick="location.href='apply/handApply/index'" class="btn btn-default">返回</button>

</div>
<%@include file="/WEB-INF/pages/common/modal.jsp"%>
<script>
    $("th,td").addClass("text-center");
    $("th,td").css({"border":"1px solid #dddddd"});
</script>
</body>
</html>